/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.eclipsecon.dui.swtmodel;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>MControl</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.eclipsecon.dui.swtmodel.MControl#getForeground <em>Foreground</em>}</li>
 *   <li>{@link org.eclipsecon.dui.swtmodel.MControl#getBackground <em>Background</em>}</li>
 *   <li>{@link org.eclipsecon.dui.swtmodel.MControl#getFont <em>Font</em>}</li>
 *   <li>{@link org.eclipsecon.dui.swtmodel.MControl#getLayoutdata <em>Layoutdata</em>}</li>
 *   <li>{@link org.eclipsecon.dui.swtmodel.MControl#getId <em>Id</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.eclipsecon.dui.swtmodel.SwtmodelPackage#getMControl()
 * @model abstract="true"
 * @generated
 */
public interface MControl extends StyledElement {
	/**
	 * Returns the value of the '<em><b>Foreground</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Foreground</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Foreground</em>' containment reference.
	 * @see #setForeground(MColor)
	 * @see org.eclipsecon.dui.swtmodel.SwtmodelPackage#getMControl_Foreground()
	 * @model containment="true"
	 * @generated
	 */
	MColor getForeground();

	/**
	 * Sets the value of the '{@link org.eclipsecon.dui.swtmodel.MControl#getForeground <em>Foreground</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Foreground</em>' containment reference.
	 * @see #getForeground()
	 * @generated
	 */
	void setForeground(MColor value);

	/**
	 * Returns the value of the '<em><b>Background</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Background</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Background</em>' containment reference.
	 * @see #setBackground(MColor)
	 * @see org.eclipsecon.dui.swtmodel.SwtmodelPackage#getMControl_Background()
	 * @model containment="true"
	 * @generated
	 */
	MColor getBackground();

	/**
	 * Sets the value of the '{@link org.eclipsecon.dui.swtmodel.MControl#getBackground <em>Background</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Background</em>' containment reference.
	 * @see #getBackground()
	 * @generated
	 */
	void setBackground(MColor value);

	/**
	 * Returns the value of the '<em><b>Font</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Font</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Font</em>' containment reference.
	 * @see #setFont(MFont)
	 * @see org.eclipsecon.dui.swtmodel.SwtmodelPackage#getMControl_Font()
	 * @model containment="true"
	 * @generated
	 */
	MFont getFont();

	/**
	 * Sets the value of the '{@link org.eclipsecon.dui.swtmodel.MControl#getFont <em>Font</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Font</em>' containment reference.
	 * @see #getFont()
	 * @generated
	 */
	void setFont(MFont value);

	/**
	 * Returns the value of the '<em><b>Layoutdata</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Layoutdata</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Layoutdata</em>' containment reference.
	 * @see #setLayoutdata(MLayoutData)
	 * @see org.eclipsecon.dui.swtmodel.SwtmodelPackage#getMControl_Layoutdata()
	 * @model containment="true"
	 * @generated
	 */
	MLayoutData getLayoutdata();

	/**
	 * Sets the value of the '{@link org.eclipsecon.dui.swtmodel.MControl#getLayoutdata <em>Layoutdata</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Layoutdata</em>' containment reference.
	 * @see #getLayoutdata()
	 * @generated
	 */
	void setLayoutdata(MLayoutData value);

	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(String)
	 * @see org.eclipsecon.dui.swtmodel.SwtmodelPackage#getMControl_Id()
	 * @model
	 * @generated
	 */
	String getId();

	/**
	 * Sets the value of the '{@link org.eclipsecon.dui.swtmodel.MControl#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 * @generated
	 */
	void setId(String value);

} // MControl
